package globalVisionEntertainment.nba;

/**
 * Represent the two parties in a game, namely home team and visiting team.
 * 
 * @author gqqnbig
 * 
 * @param <T>
 */
class GamePartiesData<T>
{
	T homeTeam;
	T visitingTeam;

	public T get(GameParty party)
	{
		if (party == GameParty.Home)
			return homeTeam;
		else
			return visitingTeam;
	}
}
